<?php

require_once(DIR_LIB."VsCore".DIR_SEP."vsapplication.php");
require_once(DIR_LIB."VsGui".DIR_SEP."vssmartywidget.php");

class VsLoginForm extends VsSmartyWidget {

	private $_orders = array();

	function __construct() {
		// Ne go zabravqj ina4e nqma $smarty Object
		parent::__construct();

		$this->_wwwDir = 'templates/XCart/';

		$this->_template = dirname(__FILE__).DIR_SEP."login.html";

		$this->assign('siteTitle', VsApplication::Instance()->title());

		
		$this->assign('formWidth', '400');
		$this->assign('formHeight', '150');
		
		$this->assign('formValueUser', '');
		$this->assign('formErrorUser', '');
		$this->assign('formErrorPass', '');
	}
	//============================================================================

	function show() {
		//$this->assign('wwwDir', $this->_wwwDir);

		return $this->fetch($this->_template);
	}
	//============================================================================


};

?>
